package com.koron.tool.entity;

import java.io.Serializable;

/**
 * Created by zhenbiao on 2016/11/12.
 */
public class Column  implements Serializable{

    //修饰符
    private String decorator;

    private String columnName;

    private String columnAlias;

    private String propertyName;
    private String remark;
    private Boolean isPrimaryKey;
    private  Boolean isAutoIncreasement;
    private String type;

    //是否作为外键的信息被选中
    private Boolean isForeignColumnSelected;

    public String getDecorator() {
        return decorator;
    }

    public void setDecorator(String decorator) {
        this.decorator = decorator;
    }

    public String getColumnName() {
        return columnName;
    }

    public void setColumnName(String columnName) {
        this.columnName = columnName;
    }

    public String getPropertyName() {
        return propertyName;
    }

    public void setPropertyName(String propertyName) {
        this.propertyName = propertyName;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Boolean getPrimaryKey() {
        return isPrimaryKey;
    }

    public void setPrimaryKey(Boolean primaryKey) {
        isPrimaryKey = primaryKey;
    }

    public Boolean getAutoIncreasement() {
        return isAutoIncreasement;
    }

    public void setAutoIncreasement(Boolean autoIncreasement) {
        isAutoIncreasement = autoIncreasement;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getColumnAlias() {
        return columnAlias;
    }

    public void setColumnAlias(String columnAlias) {
        this.columnAlias = columnAlias;
    }

    public Boolean getForeignColumnSelected() {
        return isForeignColumnSelected;
    }

    public void setForeignColumnSelected(Boolean foreignColumnSelected) {
        isForeignColumnSelected = foreignColumnSelected;
    }
}
